import request from '@/utils/request'

export default {
    // 分页条件查询数据
    getPageList(page, limit, vo) {
        return request({
            url: `/ucenter/student_data/pageSelect/${page}/${limit}`,
            method: 'post',
            data: vo
        })
    },
    addStudent(data) {
        return request({
            url: `/ucenter/student_data/add`,
            method: 'post',
            data
        })
    },
    updateStudent(data) {
        return request({
            url: `/ucenter/student_data/update`,
            method: 'post',
            data
        })
    },
    deleteStudent(id) {
        return request({
            url: `/ucenter/student_data/delete/${id}`,
            method: 'delete',
        })
    }
}